﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Bot.Domain.Enum;
using Comm100.Domain.Entity;
using Comm100.Framework.Domain.Entity;

namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_SmartTrigger_Action")]
    public class SmartTriggerAction : ISoftDelete
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid SmartTriggerId { get; set; }
        public EnumSmartTriggerActionType Type { get; set; }
        public bool IsEnabled { get; set; }
        public string AgentOfflineMessage { get; set; }
        public EnumTargetType TargetType { get; set; }
        public bool IsDeleted { get; set; }
        [NotMapped]
        public virtual List<Guid> SelectedDepartments { get; set; }
        [NotMapped]
        public virtual List<Guid> SelectedAgents { get; set; }
        [NotMapped]
        public virtual List<Guid> SelectedVisitorSegments { get; set; }
    }
}
